home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9113 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: maverick.tad.eds.com!news-admin@tad.eds.com
  2. From: Walt Hillis <walt@fms2000.stl.gtd.eds.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Problems compiling STL (Standard Template Library) on HP-UX
  5. Date: Wed, 28 Feb 1996 12:58:50 -0600
  6. Organization: Electronic Data Systems
  7. Message-ID: <3134A5EA.2325@fms2000.stl.gtd.eds.com>
  8. NNTP-Posting-Host: 206.122.3.28
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (WinNT; I)
  13. CC: jimm@fms2000.stl.gtd.eds.com, bobp@fms2000.stl.gtd.eds.com
  14.  
  15. I am having trouble trying to get STL examples to compile on 
  16. HP-UX.  I would like to use the freeware STL until it becomes 
  17. available from HP.  Can anyone point me in the correct direction 
  18. to get this working?
  19.  
  20. I downloaded ftp://butler.hpl.hp.com/stl/examples.Z and am 
  21. trying to compile deque1.c.
  22.  
  23. The C++ compiler I am using is HP-UX C++ A.03.75. (HP-UX version 
  24. 9.04.) 
  25.  
  26. The errors I am getting are:
  27.  
  28. CC: "/users/bobp/develop/stl/function.h", line 146: error: 
  29. template binary_function argument mismatch, the template formal: 
  30. Arg1 required a type actual parameter (1782)
  31.  
  32. Thanks in advance
  33.  
  34. Walt
  35.  
  36. ----------------------------------------------------------------
  37. -------------
  38. Walt Hillis            
  39.  
  40. Electronic Data Systems        internet: 
  41. walt@fms2000.stl.gtd.eds.com
  42. M.S. 1015            phone: (314) 344-4156
  43. 13736 Riverport Dr.        fax: (314) 344-5466
  44. Maryland Hgts, MO 63043-4826
  45. ----------------------------------------------------------------
  46. -------------
  47.